<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- //引入layui的js -->
    <link rel="stylesheet" href="assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="assets/css/user/login.css">

</head>

<body>

    <div class="layui-main">
        <img src="/assets/images/logo.png" alt="">
    </div>

    <div class="Login">
        <div class="title-box"></div>
        <div class="login-box">
            <form class="layui-form" id="btn-login">
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
                            autocomplete="off" class="layui-input">
                        <i class="layui-icon layui-icon-username"></i>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="password" name="password" required lay-verify="required|pass" placeholder="请输入密码"
                            autocomplete="off" class="layui-input">
                        <i class="layui-icon layui-icon-password"></i>
                    </div>
                </div>
                <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>登录</button>
                <div class="layui-form-item links">
                    <a href="javascript:;" id="link_reg">去注册账号</a>
                </div>
            </form>
        </div>
        <div class="reg-box" style="display: none;">
            <form class="layui-form" id="btn-reg">
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="text" name="username" required lay-verify="required|username" placeholder="请输入用户名"
                            autocomplete="off" class="layui-input">
                        <i class="layui-icon layui-icon-username"></i>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="password" name="password" required lay-verify="required|pass" placeholder="请输入密码"
                            autocomplete="off" class="layui-input">
                        <i class="layui-icon layui-icon-password"></i>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="password" name="password" required lay-verify="required|pass|regPwd"
                            placeholder="请再次输入密码" autocomplete="off" class="layui-input">
                        <i class="layui-icon layui-icon-password"></i>
                    </div>
                </div>
                <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>登录</button>
                <div class="layui-form-item links">
                    <a href="javascript:;" id="link_login">去登陆</a>
                </div>
            </form>
        </div>
    </div>
    <script src="/assets/lib/jquery.js"></script>
    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/js/BaseAPI.js"></script>
    <script src="/assets/js/user/login.js"></script>
</body>

</html>